package com.restaurant.bean;

/**
 * 货物
 * @author OUOrder
 */
public class Goods {

    //商品id
    private int gid;
    //店铺ip
    private int sid;
    //类目录
    private int cid;
    //商品名称
    private String goodsName;
    //商品价格
    private double goodsPrice;
    //商品库存
    private int goodsInventory;
    //店铺名
    private String goodsRestaurant;

  public Goods() {
  }

  public Goods(int gid, int sid, int cid, String goodsName, double goodsPrice, int goodsInventory, String goodsRestaurant) {
    this.gid = gid;
    this.sid = sid;
    this.cid = cid;
    this.goodsName = goodsName;
    this.goodsPrice = goodsPrice;
    this.goodsInventory = goodsInventory;
    this.goodsRestaurant = goodsRestaurant;
  }

  public int getGid() {
    return gid;
  }

  public void setGid(int gid) {
    this.gid = gid;
  }

  public int getSid() {
    return sid;
  }

  public void setSid(int sid) {
    this.sid = sid;
  }

  public int getCid() {
    return cid;
  }

  public void setCid(int cid) {
    this.cid = cid;
  }

  public String getGoodsName() {
    return goodsName;
  }

  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }

  public double getGoodsPrice() {
    return goodsPrice;
  }

  public void setGoodsPrice(double goodsPrice) {
    this.goodsPrice = goodsPrice;
  }

  public int getGoodsInventory() {
    return goodsInventory;
  }

  public void setGoodsInventory(int goodsInventory) {
    this.goodsInventory = goodsInventory;
  }

  public String getGoodsRestaurant() {
    return goodsRestaurant;
  }

  public void setGoodsRestaurant(String goodsRestaurant) {
    this.goodsRestaurant = goodsRestaurant;
  }
}
